7.8
HIGH CVSS 3.1
CVE-2026-3888
Local Privilege Escalation in snapd
Description

Local privilege escalation in snapd on Linux allows local attackers to get root privilege by re-creating snap's private /tmp directory when systemd-tmpfiles is configured to automatically clean up this directory. This issue affects Ubuntu 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS, and 24.04 LTS.

INFO

Published Date :

March 17, 2026, 2:16 p.m.

Last Modified :

March 18, 2026, 4:17 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2026-3888 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH cc1ad9ee-3454-478d-9317-d3e869d708bc
CVSS 3.1 HIGH [email protected]
Solution
Update snapd to patch a local privilege escalation vulnerability.
  • Update the snapd package on affected systems.
  • Restart the snapd service after updating.
  • Verify the patch is applied successfully.
Public PoC/Exploit Available at Github

CVE-2026-3888 has a 14 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-3888 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-3888 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

C

Updated: 1 week, 5 days ago
0 stars 0 fork 0 watcher
Born at : March 31, 2026, 1:46 p.m. This repo has been linked 1 different CVEs too.

Linux LPE via snap-confine + systemd-tmpfiles, explained in depth

C

Updated: 1 week, 3 days ago
3 stars 1 fork 1 watcher
Born at : March 23, 2026, 6:27 p.m. This repo has been linked 1 different CVEs too.

None

C

Updated: 2 weeks, 2 days ago
2 stars 1 fork 1 watcher
Born at : March 23, 2026, 1:19 a.m. This repo has been linked 1 different CVEs too.

None

Python C

Updated: 3 weeks ago
0 stars 0 fork 0 watcher
Born at : March 20, 2026, 8:30 a.m. This repo has been linked 1 different CVEs too.

This is a script designed for deployment on ubuntu instances patching the CVE-2026-3888 exploit

Shell

Updated: 3 weeks, 4 days ago
0 stars 0 fork 0 watcher
Born at : March 19, 2026, 1:33 a.m. This repo has been linked 1 different CVEs too.

This script demonstrates a race condition vulnerability in snapd that allows a local, unprivileged user to gain root privileges. The exploit works by recreating snap's private /tmp directory after it's cleaned up by systemd-tmpfiles, and tricking snap-confine into bind-mounting malicious files into the snap's sandbox.

Python

Updated: 3 weeks, 3 days ago
2 stars 0 fork 0 watcher
Born at : March 18, 2026, 3:33 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 week, 3 days ago
1 stars 0 fork 0 watcher
Born at : March 13, 2026, 10:40 p.m. This repo has been linked 7 different CVEs too.

None

Python Shell TypeScript JavaScript Go Rust HTML EJS Svelte

Updated: 2 weeks, 5 days ago
1 stars 0 fork 0 watcher
Born at : Feb. 27, 2026, 4:59 a.m. This repo has been linked 3 different CVEs too.

try to ingest medium information

Python

Updated: 6 days, 6 hours ago
0 stars 0 fork 0 watcher
Born at : Jan. 21, 2026, 11:33 a.m. This repo has been linked 1 different CVEs too.

None

Python C

Updated: 1 week ago
0 stars 0 fork 0 watcher
Born at : Jan. 9, 2026, 1:03 p.m. This repo has been linked 6 different CVEs too.

Lobsters

Shell JavaScript HTML

Updated: 3 weeks, 3 days ago
5 stars 0 fork 0 watcher
Born at : Sept. 19, 2022, 3:08 a.m. This repo has been linked 1 different CVEs too.

Hacker News

HTML JavaScript Shell

Updated: 3 weeks, 3 days ago
14 stars 5 fork 5 watcher
Born at : April 6, 2022, 3:43 a.m. This repo has been linked 1 different CVEs too.

Autoupdating readme.

Python

Updated: 2 weeks, 2 days ago
1 stars 0 fork 0 watcher
Born at : Aug. 5, 2020, 8:45 a.m. This repo has been linked 1 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 1 week ago
7620 stars 1243 fork 1243 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 766 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-3888 vulnerability anywhere in the article.

  • The Hacker News
⚡ Weekly Recap: CI/CD Backdoor, FBI Buys Location Data, WhatsApp Ditches Numbers & More

Another week, another reminder that the internet is still a mess. Systems people thought were secure are being broken in simple ways, showing many still ignore basic advisories. This edition covers a ... Read more

Published Date: Mar 23, 2026 (2 weeks, 6 days ago)
  • The Hacker News
Ubuntu CVE-2026-3888 Bug Lets Attackers Gain Root via systemd Cleanup Timing Exploit

A high-severity security flaw affecting default installations of Ubuntu Desktop versions 24.04 and later could be exploited to escalate privileges to the root level. Tracked as CVE-2026-3888 (CVSS sco ... Read more

Published Date: Mar 18, 2026 (3 weeks, 4 days ago)
  • CybersecurityNews
Ubuntu Desktop Systems Vulnerability Enables Attackers to Gain Full Root Access

Ubuntu Desktop Systems Vulnerability A Local Privilege Escalation (LPE) vulnerability in default installations of Ubuntu Desktop 24.04 and later allows an unprivileged local attacker to gain full root ... Read more

Published Date: Mar 18, 2026 (3 weeks, 4 days ago)

The following table lists the changes that have been made to the CVE-2026-3888 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Mar. 18, 2026

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2026/03/18/1
  • CVE Modified by [email protected]

    Mar. 18, 2026

    Action Type Old Value New Value
    Added Reference https://blog.qualys.com/vulnerabilities-threat-research/2026/03/17/cve-2026-3888-important-snap-flaw-enables-local-privilege-escalation-to-root
    Added Reference https://cdn2.qualys.com/advisory/2026/03/17/snap-confine-systemd-tmpfiles.txt
    Added Reference https://discourse.ubuntu.com/t/snapd-local-privilege-escalation-cve-2026-3888
    Added Reference https://ubuntu.com/security/notices/USN-8102-1
  • New CVE Received by [email protected]

    Mar. 17, 2026

    Action Type Old Value New Value
    Added Description Local privilege escalation in snapd on Linux allows local attackers to get root privilege by re-creating snap's private /tmp directory when systemd-tmpfiles is configured to automatically clean up this directory. This issue affects Ubuntu 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS, and 24.04 LTS.
    Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
    Added CWE CWE-268
    Added Reference https://ubuntu.com/security/CVE-2026-3888
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.